package com.xinyue.center.messages.request;

public class LoginRequest {
    private int loginType;// 登陆类型：1 用户名密码；2 第三方sdk
    private String userName;
    private String password;
    private String loginIp;

    public boolean isUserNameLogin() {
        return this.loginType == 1;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public int getLoginType() {
        return loginType;
    }

    public void setLoginType(int loginType) {
        this.loginType = loginType;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
